package com.core.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 字典表
 */
@TableName("dict")
public class Dict {
	/** 字典码 */
  @TableField("`code`")
	private String code;
  @TableField("`dict_key`")
	private String dictKey;
	/** 字典名称 */
  @TableField("`dict_value`")
	private String dictValue;
	/** 主键 */
  @TableField("`id`")
	private String id;
	/** 是否已封存 */
  @TableField("`is_sealed`")
	private Integer isSealed;
	/** 是否深色标签 */
  @TableField("`iseffect`")
	private Integer iseffect;
	/** 字典tag类型 */
  @TableField("`listClass`")
	private String listClass;
	/** 父主键 */
  @TableField("`parent_id`")
	private String parentId;
	/** 字典备注 */
  @TableField("`remark`")
	private String remark;
	/** 排序 */
  @TableField("`sort`")
	private Integer sort;

	public void setCode(String code) {
		this.code = code;
	}
	
	public String getCode() {
		return this.code;
	}
	public void setDictKey(String dictKey) {
		this.dictKey = dictKey;
	}
	
	public String getDictKey() {
		return this.dictKey;
	}
	public void setDictValue(String dictValue) {
		this.dictValue = dictValue;
	}
	
	public String getDictValue() {
		return this.dictValue;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return this.id;
	}
	public void setIsSealed(Integer isSealed) {
		this.isSealed = isSealed;
	}
	
	public Integer getIsSealed() {
		return this.isSealed;
	}
	public void setIseffect(Integer iseffect) {
		this.iseffect = iseffect;
	}
	
	public Integer getIseffect() {
		return this.iseffect;
	}
	public void setListClass(String listClass) {
		this.listClass = listClass;
	}
	
	public String getListClass() {
		return this.listClass;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	public String getParentId() {
		return this.parentId;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRemark() {
		return this.remark;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	public Integer getSort() {
		return this.sort;
	}

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        Dict that = (Dict) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }
    
    @Override
    public String toString() {
        return "Dict{" +
		"code=" + code +
		",dictKey='" + dictKey + "'" + 
		",dictValue='" + dictValue + "'" + 
		",id='" + id + "'" + 
		",isSealed='" + isSealed + "'" + 
		",iseffect='" + iseffect + "'" + 
		",listClass='" + listClass + "'" + 
		",parentId='" + parentId + "'" + 
		",remark='" + remark + "'" + 
		",sort='" + sort + "'" + 
                '}';
    }
	
}